<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%--
    		s:a			:a
    		s:div			:div
    		s:if			:조건문
    		s:elseif		:다중조건문
    		s:iterator:루프문
    
    
     --%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<style type="text/css">
	a{text-decoration: none; color: black}
	a:HOVER {color: red}
</style>
</head>
<body>
	<center>
		<h1>내용 보기</h1>
		<table border=2 width=500 bordercolor=#d5d5d5 cellpadding="0" cellspacing="0">
			<tr>
				<td rowspan="2" width=20%>ID</td>
				<td rowspan="2" width=30%>${vo.id }
					<input type="hidden" name="id" value="${vo.no }">
				</td>
				<td width=20%>조회수</td>
				<td width=30%>${vo.readnum }</td>
			</tr>
			<tr>
				<td width=20%>작성일</td>
				<td width=30%><s:date name="vo.writeday" format="yyyy-MM-dd" />
				</td>
			</tr>
			<tr>
				<td width=20%>제목</td>
				<td colspan=3 align=left>${vo.subject }</td>
			</tr>
			<tr>
				<td colspan=4 align=left valign=top height=220>${vo.content }</td>
			</tr>
		</table>
		<table width=500 border=0>
			<tr>
				<td align=right>
					답글 &nbsp;
					<s:a href="customer/update.do?no=%{vo.no}" theme="ajax" targets="maincontents">수정</s:a> &nbsp; 
					<s:a href="customer/delete.do?no=%{vo.no}&boardtype=%{boardtype}" theme="ajax" targets="maincontents">삭제</s:a>&nbsp;
					<s:a href="customer/list.do?boardtype=%{boardtype}" theme="ajax" targets="maincontents">
						목록
					</s:a>
				</td>
		</table>
	</center>
</body>
</html>